]> dgit.raspbian.org Git - gnome-shell.git/commit
dash: Ensure style for icon size computation
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 13 Oct 2015 15:38:26 +0000 (17:38 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 13 Oct 2015 18:21:44 +0000 (20:21 +0200)
commit14c52bb00a9748f9ae2c0f13bcb17fb460d975a1
treea56ee0132b6eecd9277ad4746f2e0403bb9db955
parent9720b3298797682900965f3b5963aef324c2320d
dash: Ensure style for icon size computation

StIcon will skip loading the texture when its theme node is unset (which
may happen on style changes while the widget is hidden). While our size
request to compute the dash icon size will create the icon's theme node
if necessary (and of all its parents), a missing texture can still throw
off our computation.
Make sure this doesn't happen by ensuring the icon's style first, so the
texture is updated in response to StWidget::style-changed if necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=745649
js/ui/dash.js